Skip to content

Conversation

@tobias-wilfert
Copy link
Member

@tobias-wilfert tobias-wilfert commented Sep 2, 2025

This needs to be coordinated with changes in Sentry that make managed mode available to everyone and an updating of the docs telling people managed mode is now available.

Sentry PRs: getsentry/sentry#98696 & getsentry/sentry#98688
Docs PR: getsentry/sentry-docs#14787

Ref: https://linear.app/getsentry/issue/INGEST-545/update-relay

@tobias-wilfert tobias-wilfert self-assigned this Sep 2, 2025
Comment on lines 354 to 356
"static" => Err(serde::de::Error::custom(
"Relay mode 'static' has been depreciated. Please use 'managed' or 'proxy' instead.",
)),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if it makes sense to link to the docs here.

@linear
Copy link

linear bot commented Sep 3, 2025

INGEST-545 Update Relay

@tobias-wilfert tobias-wilfert marked this pull request as ready for review September 3, 2025 15:31
@tobias-wilfert tobias-wilfert requested a review from a team as a code owner September 3, 2025 15:31
Copy link
Contributor

@loewenheim loewenheim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@jjbayer
Copy link
Member

jjbayer commented Sep 3, 2025

I think you can remove the existing changelog line about static mode and instead add a line about the complete removal to **Breaking Changes**.

cursor[bot]

This comment was marked as outdated.

@tobias-wilfert tobias-wilfert added this pull request to the merge queue Sep 9, 2025
Merged via the queue into master with commit cff8d14 Sep 9, 2025
28 checks passed
@tobias-wilfert tobias-wilfert deleted the tobias-wilfert/feat/remove-static-mode branch September 9, 2025 06:12
github-merge-queue bot pushed a commit that referenced this pull request Oct 22, 2025
This is a big change, however this should not break anything. Users that
run Relay in Proxy mode should not experience any negative side effects.

With the recent changes to the Relay modes
(#5108,
#5057,
#5053) it became apparent that
the proxy mode is currently doing more than strictly necessary. That is,
the logic is currently more complex than it needs to be and as such it
also is less efficient than it could be. This PR tries to rectify this
by making Proxy mode more of a 'pure' Proxy by introducing
the `ProxyProcessorService` which is a simplified version of
the `EnvelopeProcessorService`. There are also some changes to the
`HealthCheckService`, `AutoscalingMetricService` and `RelayStats` to
make these compatible.

Fixes: https://linear.app/getsentry/issue/INGEST-581/simplify-proxy-mode
github-merge-queue bot pushed a commit that referenced this pull request Oct 22, 2025
This is a big change, however this should not break anything. Users that
run Relay in Proxy mode should not experience any negative side effects.

With the recent changes to the Relay modes
(#5108,
#5057,
#5053) it became apparent that
the proxy mode is currently doing more than strictly necessary. That is,
the logic is currently more complex than it needs to be and as such it
also is less efficient than it could be. This PR tries to rectify this
by making Proxy mode more of a 'pure' Proxy by introducing
the `ProxyProcessorService` which is a simplified version of
the `EnvelopeProcessorService`. There are also some changes to the
`HealthCheckService`, `AutoscalingMetricService` and `RelayStats` to
make these compatible.

Fixes: https://linear.app/getsentry/issue/INGEST-581/simplify-proxy-mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants